package com.bwda.dsrs.base.util;

/**
 * @author yangjun
 * @date 2019/3/18
 */
public final class UUIDUtil {

    private static BaseUIDFactory uuid = null;

    private UUIDUtil() {
    }

    public static String getUuid() {
        return uuid.getNextUid();
    }

    static {
        try {
            uuid = BaseUIDFactory.getInstance("UUID");
        } catch (Exception var1) {
//            log.error(var1.getMessage(), var1);
        }

    }
}
